SpriteSurface.Collision Event

Two sprites with different Group property values (or negative Group property values) have collided (one has touched the other).

Syntax

Collision ( S1, S2 )

Parameters

S1

Sprite

S2

Sprite